package com.dmai.capacity.platform.user.pojo.request;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

@Data
public class InstitutionAuthRequest implements Serializable {
    private static final long serialVersionUID = 1L;


    @NotNull(message = "审核结果不能为空")
    @Range(min = -1, max = 1, message = "审核结果非法")
//    @Pattern(regexp = "-1|1", message = "审核结果非法")
    private Integer authState;

    private String authRemark;

}